﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace WebAppLibrary.GetProvCity
{
    /// <summary>
    /// InterfaceName:IArea<T>
    /// Auther:Leo.wl
    /// Time:2010-04-15
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface IArea<T>
    {
        /// <summary>
        /// Gets the name.
        /// </summary>
        /// <value>The name.</value>
        string Name { get; }
        /// <summary>
        /// Gets the prov.
        /// </summary>
        /// <returns></returns>
        IList<T> GetProv();
        /// <summary>
        /// Gets the city.
        /// </summary>
        /// <param name="provname">The provname.</param>
        /// <returns></returns>
        IList<T> GetCity(string provname);
        /// <summary>
        /// Gets the area.
        /// </summary>
        /// <param name="cityname">The cityname.</param>
        /// <returns></returns>
        IList<T> GetArea(string cityname);
    }
}
